@import "public";

.cartLogo,.shoppingCart,.cart_box {
    width: 1000px;
    margin: 0 auto;
}
.cartLogo{
    padding: 20px 0;
    h1 {
        width: 188px;
        height: 59px;
        float: left;
    }
}

/*空购物车*/
.cart_empty {
    border: 1px solid #f5f5f5;
    padding: 110px 0 100px 268px;
    margin-bottom: 20px;
    .cart_empty_img {
        width: 120px;
        height: 101px;
        float: left;
        display: inline-block;
        background: url(../images/cart_empty.png) no-repeat;
        margin-right: 15px;
    }
    .cart_empty_tit {
        font-size: 24px;
        color: #999;
        padding-top: 30px;
        float: left;
        a {
            font-size: 12px;
            color: #2767e4;
            margin-left: 10px;
        }
    }
}

/*购物车不是空*/
.shoppingCart {
    h2 {
        font-size: 16px;
        padding-top: 10px;
        color: #222;
        line-height: 20px;
    }
    .cart_con {
        width: 100%;
        .cart_tit {
            background: #F2F2F2;
            color: #666;
            border-bottom: 1px solid #E8E8E8;
            li {
                float: left;
            }
            .tit_check {
                width: 113px;
                padding: 10px 15px 10px 20px;
                label {
                    margin-left: 20px;
                }
            }
            .tit_meg {
                width: 280px;
                padding: 10px 80px 10px 0;
            }
            .tit_price {
                width: 140px;
                padding: 10px 0;
            }
            .tit_num {
                width: 70px;
                text-align: center;
                padding: 10px 70px 10px 0;
            }
            .tit_sum {
                width: 140px;
                padding: 10px 0;
            }
            .tit_action {
                width: 70px;
                padding: 10px 0;
            }
        }
    }
    .cart_form {
        .shopping_con {
            padding: 20px 0 20px 53px;
            position: relative;
            display: inline-block;
            border: 1px solid #ddd;
            .c_meg {
                float: left;
                color: #666;
                dt {
                    float: left;
                    margin-right: 15px;
                }
                dd {
                    padding-right: 80px;
                    width: 280px;
                    float: left;
                    .m_tit {
                        line-height: 80px;
                    }
                }
            }
            .c_price {
                float: left;
                width: 140px;
                margin-top: 33px;
                color: #666;
                .c_price_num {
                    line-height: 20px;
                    i {
                        font-size: 14px;
                        font-family: arial;
                    }                   
                }
            }
            .c_quantity {
                float: left;
                text-align: center;
                width: 70px;
                padding-right: 70px;
                .c_amount {
                    margin-top: 33px;
                    a {
                        float: left;
                        width: 18px;
                        height: 18px;
                        border: 1px solid #ddd;
                        text-align: center;
                        font-size: 20px;
                        line-height: 17px;
                        color: #222;
                    }
                    input {
                        float: left;
                        width: 30px;
                        text-align: center;
                        border-top: 1px solid #ddd;
                        border-bottom: 1px solid #ddd;
                        color: #666;
                        height: 18px;
                    }
                }
            }
            .c_sum {
                float: left;
                width: 140px;
                color: #666;
                font-size: 14px;
                font-weight: bold;
                margin-top: 33px;
                i {
                    font-size: 16px;
                    font-family: arial;
                }
            }
            .c_action {
                float: left;
                width: 68px;
                margin-top: 33px;
                .i_del:hover{
                    text-decoration: underline;
                }
            }
            .c_check {
                position: absolute;
                left: 20px;
                top: 54px;
                z-index: 2;
                input {
                    height: 13px;
                    width: 13px;
                    vertical-align: middle;
                }
            }
        }
    }
    .totaljiesuan {
        width: 100%;
        height: 50px;
        background: #F2F2F2;
        border-top: 1px solid #8e8e8e;
        .qt {
            float: left;
        }
        .bt {
            margin-left: 50px;
        }
        .qt,.bt {
            width: 160px;
            float: left;
            text-align: center;
            font-weight: bold;
            font-size: 18px;
            color: #fff;
            background: #FF504A;
            line-height: 50px;
        }
    }
}
